package bavaria.hightech.testit.io;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;

public class FileReaderTest {



		

		  public static void main(String[] args) throws IOException
		  {
			   
		    FileReader fr = new FileReader(System.getProperty("user.dir") + "\\src\\bavaria\\hightech\\testit\\io\\file2.txt");
		    
		    BufferedReader br = new BufferedReader(fr);

		    String zeile1 = br.readLine();
		    System.out.println(zeile1);
		    String zeile2 = br.readLine();
		    System.out.println(zeile2);
		    String zeile3 = br.readLine();
		    System.out.println(zeile3);

		    br.close();
		  }
		

}
